package com.bbg.amyam.process.jms.queue;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jms.core.JmsOperations;
import org.springframework.stereotype.Component;

@Component
public class QueueEventAgentImpl implements QueueEventAgent {

    @Autowired
    private transient JmsOperations jmsQueueTemplate;
    

    public void sendMessage(QueueMessage queueMessage) {
    	jmsQueueTemplate.convertAndSend(queueMessage);
    }
}
